package com.ysd.modules.app.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ysd.modules.app.dao.ClassesDao;
import com.ysd.modules.app.entity.ClassesEntity;
import com.ysd.modules.app.service.ClassesService;

@Service
public class ClassesServiceImpl extends ServiceImpl<ClassesDao, ClassesEntity> implements ClassesService {
	
	@Autowired
	private ClassesDao clasesDao;
	
	@Override
	public ClassesEntity getByStudentId(Integer stuId) {
		ClassesEntity c = clasesDao.getByStudentId(stuId);
		return c;
	}

}
